package com.baibei.ebec.user.register;

import com.baibei.basic.IPresenter;
import com.baibei.basic.IPresenterView;

/**
 * 企业用户注册
 * Created by ChenRui on 2017/8/3 0003 17:20.
 */
public interface RegisterEnterpriseContract {

    interface Presenter extends IPresenter {

        void register();

        void cancel();
    }

    interface View extends IPresenterView {

        String getMobile();

        String getPassword();

        String getSmsCode();

        /**
         * 法人姓名
         */
        String getLegalPersonName();

        /**
         * 法人身份证号
         */
        String getLegalPersonCertNo();

        /**
         * 营业执照图片URL
         */
        String getBizLicencePicture();


        void onRegisterSuccess();

        void onRegisterFailed(String msg);
    }
}
